package com.ss.ttm.player;

import android.content.ComponentCallbacks2;
import android.content.res.Configuration;
import android.support.design.a;

public final class l implements ComponentCallbacks2 {
    private String a;
    private int b;

    public l(String arg2) {

        this.a = null;
        this.b = -1;
        this.a = arg2;
    }

    public final void onConfigurationChanged(Configuration arg1) {
    }

    public final void onLowMemory() {
        android.support.design.a.a(this.b, this.a);
    }

    public final void onTrimMemory(int arg3) {
        switch(arg3) {
            case 5: {
                this.b = arg3;
                break;
            }
            case 10: {
                this.b = arg3;
                break;
            }
            case 15: {
                this.b = arg3;
                break;
            }
            case 20: {
                this.b = arg3;
                break;
            }
            case 40: {
                this.b = arg3;
                break;
            }
            case 60: {
                this.b = arg3;
                break;
            }
            case 80: {
                this.b = arg3;
                break;
            }
        }

        android.support.design.a.a(this.b, this.a);
    }
}

